try {
	Type.registerNamespace('NCMMPUINTEST');

	NCMMPUINTEST.initTable = function(VOHClass) {
		//for(var i = 0; i < NCMMPUINTEST.INSERTDATA.length; i++) {
		//			var vo = fillAttributes(AppmappingheadVO, NCMMDBUtil.MAPPINGHEADDATA[i]);
		//	NCMMPubUtil.insertVO(VOHClass, NCMMPUINTEST.INSERTDATA[i]);
		//}
		//NCMMPUINTEST.showInsertCount();
	}
	NCMMPUINTEST.showInsertCount = function() {

		var sql = "select * from " + PurchaseInVO.prototype.getTableName();
		var param = {
			db: NCMMPubUtil.DatabaseName,
			sql: sql
		}
		var data = $sqlite.query(param);
		//$alert("Test插入采购表的数据为=" + $jsonToString(data));

	}

	NCMMPUINTEST.INSERTDATA = [{
			"pk_arriveorder": "pk1",
			"pkarriveorderb": "pkb1",
			"vbillcode": "danjuhao1",
			"dbilldate": "1016-10-17",
			"materialname": "物料1",
			"pksrcmaterialcode": "wuliao1",
			"nnum": "11"
		}, {
			"pk_arriveorder": "pk1",
			"pkarriveorderb": "pkb11",
			"vbillcode": "danjuhao1",
			"dbilldate": "1016-10-17",
			"materialname": "物料11",
			"pksrcmaterialcode": "wuliao11",
			"nnum": "11"
		}, {
			"pk_arriveorder": "pk2",
			"pkarriveorderb": "pkb22",
			"vbillcode": "danjuhao2",
			"dbilldate": "2026-02-02",
			"materialname": "物料2",
			"pksrcmaterialcode": "wuliao2",
			"nnum": "22"
		},

		{
			"pk_arriveorder": "pk3",
			"pkarriveorderb": "pkb3",
			"vbillcode": "danjuhao3",
			"dbilldate": "3036-03-03",
			"materialname": "物料3",
			"pksrcmaterialcode": "wuliao3",
			"nnum": "33"
		}, {
			"pk_arriveorder": "pk3",
			"pkarriveorderb": "pkb33",
			"vbillcode": "danjuhao3",
			"dbilldate": "3036-03-03",
			"materialname": "物料33",
			"pksrcmaterialcode": "wuliao33",
			"nnum": "33"
		}, {
			"pk_arriveorder": "pk3",
			"pkarriveorderb": "pkb333",
			"vbillcode": "danjuhao3",
			"dbilldate": "3036-03-03",
			"materialname": "物料333",
			"pksrcmaterialcode": "wuliao33",
			"nnum": "33"
		}
	];
} catch(e) {
	$e(e);
}